package com.junjie.dao;

import java.util.List;

import com.junjie.entity.Book;

public interface IBookDao {
	/**
	 * 全查询(商品名称,作者,出版社,出版时间,商品描述,固定价格,当当价格,商品图片)
	 * select p.product_name,b.author,b.publishing,
     * b.publish_time,p.description,p.fixed_price,
     * p.dang_price,p.product_pic
     *	from d_category_product cp inner join d_product p
     *	on cp.product_id=p.id 
     *	inner join d_book b 
     *	on p.id=b.id
     *	where cp.cat_id=1;
	 */
	public List<Book> select(String sql ,Object[]parameter)throws Exception;
}
